import request from '@/utils/request'

// 查询测试订单分页列表
export function pageSysAppVersion(query) {
  return request({
    url: '/system/appversion/page',
    method: 'get',
    params: query
  })
}

// 查询测试订单列表
export function listSysAppVersion(query) {
  return request({
    url: '/system/appversion/list',
    method: 'get',
    params: query
  })
}

// 查询测试订单详细
export function getSysAppVersion(id) {
  return request({
    url: '/system/appversion/' + id,
    method: 'get'
  })
}

// 新增测试订单
export function addSysAppVersion(data) {
  return request({
    url: '/system/appversion',
    method: 'post',
    data: data
  })
}

// 修改测试订单
export function updateSysAppVersion(data) {
  return request({
    url: '/system/appversion',
    method: 'put',
    data: data
  })
}

// 删除测试订单
export function delSysAppVersion(id) {
  return request({
    url: '/system/appversion/' + id,
    method: 'delete'
  })
}
